<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/3/29
 * Time: 12:09
 */
namespace app\index\controller;
use app\api\model\Banner;
use app\api\model\Ces1;
use app\api\model\Ces2;
use app\BaseController;

class Index extends BaseController
{
    public function index(){
        $install = include_once '../app/admin/config/app.php';
        if(!$install['install']){
            return redirect('/admin/index/addproject');
        }
        echo '前段页面';
    }
}